<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
  <script src="../index.js"></script>
  <script src="../js/jquery-3.7.1.js"></script>
    <title>Title</title>
</head>
<body>
<script>
  //创建活动提交接口
  var test = function (){
    $.ajax({
      type:'get',
      url : "https://47.107.84.216:8080/api/v1/server/getActivityList",
      headers: {
        'content-type': 'application/json'
      },
      data:JSON.stringify({
        "institution_id":institution_id,
        "is_admin":"true"
      }),
      success: function(data) {
        console.log("创建活动结果：",data);
      },
      error: function(data) {
        console.log("失败：",data);
      }
    });
  }
  test()
</script>
</body>
</html>